package com.ruoyi.blog.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 访问记录对象 biz_article_look
 * 
 * @author wsa
 * @date 2019-10-20
 */
public class BizArticleLook extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 文章ID */
    @Excel(name = "文章ID")
    private Long articleId;

    /** 已登录用户ID */
    @Excel(name = "已登录用户ID")
    private Long userId;

    /** 用户IP */
    @Excel(name = "用户IP")
    private String userIp;

    /** 浏览时间 */
    @Excel(name = "浏览时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lookTime;

    /** 备用1 */
    private String remarkcolumn1;

    /** 备用2 */
    private String remarkcolumn2;

    /** 备用3 */
    private String remarkcolumn3;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setArticleId(Long articleId) 
    {
        this.articleId = articleId;
    }

    public Long getArticleId() 
    {
        return articleId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserIp(String userIp) 
    {
        this.userIp = userIp;
    }

    public String getUserIp() 
    {
        return userIp;
    }
    public void setLookTime(Date lookTime) 
    {
        this.lookTime = lookTime;
    }

    public Date getLookTime() 
    {
        return lookTime;
    }
    public void setRemarkcolumn1(String remarkcolumn1) 
    {
        this.remarkcolumn1 = remarkcolumn1;
    }

    public String getRemarkcolumn1() 
    {
        return remarkcolumn1;
    }
    public void setRemarkcolumn2(String remarkcolumn2) 
    {
        this.remarkcolumn2 = remarkcolumn2;
    }

    public String getRemarkcolumn2() 
    {
        return remarkcolumn2;
    }
    public void setRemarkcolumn3(String remarkcolumn3) 
    {
        this.remarkcolumn3 = remarkcolumn3;
    }

    public String getRemarkcolumn3() 
    {
        return remarkcolumn3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("articleId", getArticleId())
            .append("userId", getUserId())
            .append("userIp", getUserIp())
            .append("lookTime", getLookTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("remarkcolumn1", getRemarkcolumn1())
            .append("remarkcolumn2", getRemarkcolumn2())
            .append("remarkcolumn3", getRemarkcolumn3())
            .toString();
    }
}
